Sample input file format for Quadtree assignment:

 The input should be a file containing two lists, vertex list and polygon list:

1. Vertex list will contain all the vertices of all the polygons.

vertex coordinates{
x1 y1 z1
x2 y2 z2
x3 y3 z3
x4 y4 z4 
.............
.............
}

2. Polygon list is the index to the vertex list. Number of rows in the polygon list is the number of polygons in the scene. Number of columns may vary depending on the number of vertices in the polygon.

polygan list{
0 1 2
4 5 6 7
8 9 10 
......…
……..
}